import java.util.Scanner;
public class lab6_1 {
	public static void main(String[] args) {
		int num;
		Scanner in = new Scanner(System.in); 
		System.out.print("Enter your number 1 to 100 : ");   
		num = in.nextInt();  
		if(num>=1&&num<=20)
		{
			for(int i=0;i<5;i++)
			{
		System.out.println("******************************");
			}
		}
		if(num>=21&&num<=40)
		{
			System.out.print("*");
			for(int i=0;i<6;i++)
			{
				for(int j=0;j<i;j++)
				{
					System.out.print("*****");
				}System.out.println();
			}
		}
		if(num>=41&&num<=60)
		{			
			for(int i=6;i>0;i--)
			{
					for(int j=i;j>0;j--)

				{
					System.out.print("*****");
				}System.out.println();
			}
			System.out.print("*");
		}
		if(num>=61&&num<=100)
		{
			System.out.println("******************************");
			for(int i=0;i<3;i++)
			{
	System.out.println("***                        ***");
			}
		System.out.print("******************************");
		}
	}
}
